package com.guigu.leizihao.service;

import com.guigu.common.pojo.SPay;
import com.guigu.common.pojo.SPayDetails;
import com.guigu.common.vo.SearchVo;
import com.guigu.leizihao.vo.SGatherVo;
import com.guigu.leizihao.vo.SpayDetailsView;
import com.guigu.leizihao.vo.SpayView;

import java.util.List;

public interface SpayService {

    void addSpayApplyFor(SGatherVo sGatherVo);

    SearchVo queryspayToAudit(SearchVo searchVo);

    List<SpayView> findSpayDetailsById(Integer id);

    int changeSpay(SPay sPay);

    SearchVo querySpayAll(SearchVo searchVo);

    SearchVo findFormulateSpay(SearchVo searchVo);

    int UpdateSpay_details(Integer id);

    SearchVo querySpayOut(SearchVo searchVo);

    void updateSpay_detailsQuantityInStorage(SGatherVo sGatherVo);

    SearchVo queryOutboundCheck(SearchVo searchVo);

    List<SpayView> findSpayDetailsByIdandQuantityIinStorage(Integer id);

    void OutboundCheckPass(SGatherVo<SPayDetails> sGatherVo);

    Integer querySpayTotalcost(Integer id);

    List<SpayDetailsView> queryspayDetailsByproductId(String productid);

    void changeSpayNo(Integer id);
}
